package com.shandiangou.crm.service;

import com.shandiangou.crm.model.HongbaoLog;

/**
 *  营销操作业务层接口
 */
public interface MarketService {

    /**
     * 发送红包
     * @param hongbaoLog
     * @return
     */
    int insert(HongbaoLog hongbaoLog);


    /**
     * 获得用户当天发送红包的数量
     * @param userId
     * @return
     */
    int countHongbaoByUserToday(Long userId);
}
